
<div class="nch-goods-recommend">
  <div class="title">热销推荐</div>
  <div class="content">
    <?php if(!empty($datas) && is_array($datas)){ ?>
    <ul class="nch-module-recommend">
      <?php foreach($datas as $k=>$v){?>
      <li>
        <div class="goods-pic"> 
        	<a href="{:url('shop/Goods/index', array('goods_id'=>$v['goods_id']))}" target="_blank">
        		<img alt="" src="{:cthumb($v['goods_image'], 240)}">
        	</a> 
        </div>
        <dl class="goods-info">
          <dt><a href="{:url('shop/Goods/index', array('goods_id'=>$v['goods_id']))}" title="<?php echo $v['goods_name'];?>" target="_blank">
            <?php if ($v['goods_promotion_type'] == 1){ ?>
            <span>抢购</span>
            <?php } elseif ($v['goods_promotion_type'] == 2) { ?>
            <span>折扣</span>
            <?php } ?>
            <?php echo $v['goods_name'];?></a></dt>
          <dd class="goods-price"><em>{$v['goods_promotion_price']}</em></dd>
          <dd class="buy-btn"><a href="{:url('shop/Goods/index', array('goods_id'=>$v['goods_id']))}" target="_blank">立即抢购</a></dd>
        </dl>
      </li>
      <?php } ?>
    </ul>
    <?php } else { ?>
    <div class="noguess">暂无商品向您推荐</div>
    <?php }?>
  </div>
</div>
